package com.psa.element;

import java.lang.reflect.Type;

/**
 * Created by david on 2014/5/20.
 */
public class SqlObjectStatus {
    public ISqlObject iSqlObject = null;
    public boolean checked = false;
    public int index = 0;
    public String title = "";
    public Type type = null;

    public static SqlObjectStatus createInstanse(boolean checked, ISqlObject sqlObject, Type type) {
        SqlObjectStatus sqlObjectStatus = new SqlObjectStatus();
        sqlObjectStatus.iSqlObject = sqlObject;
        sqlObjectStatus.checked = checked;
        sqlObjectStatus.type = type;
        return sqlObjectStatus;
    }
}
